<template>
  <div id="dongtai">
    <van-nav-bar title="兑换中心" left-text="返回" left-arrow @click="fanhui" />
  </div>
</template>

<script>
import { useRouter } from "vue-router";
export default {
  setup() {
    const router = useRouter();
    const fanhui = () => {
      router.go(-1);
    };
    return {
      fanhui,
    };
  },
};
</script>
<style lang="less">
#dongtai {
  .van-nav-bar__left {
    .van-badge__wrapper {
      color: #34c3c6;
    }
    .van-nav-bar__text {
      color: #34c3c6;
    }
  }
}
</style>
